package com.soul.interceptor;

import com.soul.net.Request;
import com.soul.net.Response;

/**
 * 请求拦截器
 */
public interface Interceptor {
    /**
     * 前置拦截
     * @param request
     */
    void preRequest(Request request);

    /**
     * 后置拦截
     * @param request
     * @param response
     */
    void postRequest(Request request, Response response);
    
}
